<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Hello MUI</title>
<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<!--标准mui.css-->
<link rel="stylesheet" href="../css/mui.min.css">
<!--App自定义的css-->
<link rel="stylesheet" type="text/css" href="../css/app.css" />
<link rel="stylesheet" type="text/css" href="../css/icons-extra.css" />
</head>

<body>
<div class="mui-content">
	<!-- 轮播 -->
	<div id="slider" class="mui-slider" style="height: 230px;">
		<div class="mui-slider-group mui-slider-loop">
			<!-- 额外增加的一个节点(循环轮播：第一个节点是最后一张轮播) -->
			<div class="mui-slider-item mui-slider-item-duplicate">
				<a href="#">
					<img src="../images/bg2.jpg">
				</a>
			</div>
			<!-- 第一张 -->
			<div class="mui-slider-item">
				<a href="#">
					<img src="../images/bg.jpg">
				</a>
			</div>
			<!-- 第二张 -->
			<div class="mui-slider-item">
				<a href="#">
					<img src="../images/bg1.jpg">
				</a>
			</div>
			<!-- 第三张 -->
			<div class="mui-slider-item">
				<a href="#">
					<img src="../images/bg2.jpg">
				</a>
			</div>
			<!-- 额外增加的一个节点(循环轮播：最后一个节点是第一张轮播) -->
			<div class="mui-slider-item mui-slider-item-duplicate">
				<a href="#">
					<img src="../images/bg.jpg">
				</a>
			</div>
		</div>
		<div class="mui-slider-indicator">
			<div class="mui-indicator mui-active"></div>
			<div class="mui-indicator"></div>
			<div class="mui-indicator"></div>
		</div>
	</div>
	
	<!-- 列表 -->
	<ul id="OA_task_2" class="mui-table-view">
		<li class="mui-table-view-cell">
			<div class="mui-slider-right mui-disabled">
				<a class="mui-btn mui-btn-blue mui-icon-extra mui-icon-extra-prech"></a>
				<a class="mui-btn mui-btn-yellow mui-icon-extra mui-icon-extra-cart"></a>
			</div>
			<div class="mui-slider-handle">
				<div class="mui-table-cell">
					<img src="../images/bg2.jpg" height="50px" style="float: left;margin-right: 5px;">
					<div class="mui-media-body">
						芝佳基汉堡
						<p class="mui-ellipsis">起送￥50 配送￥18</p>
					</div>
				</div>
			</div>
		</li>
		<li class="mui-table-view-cell">
			<div class="mui-slider-right mui-disabled">
				<a class="mui-btn mui-btn-blue mui-icon-extra mui-icon-extra-prech"></a>
				<a class="mui-btn mui-btn-yellow mui-icon-extra mui-icon-extra-cart"></a>
			</div>
			<div class="mui-slider-handle">
				<div class="mui-table-cell">
					左滑显示多功能菜单
				</div>
			</div>
		</li>
		<li class="mui-table-view-cell">
			<div class="mui-slider-right mui-disabled">
				<a class="mui-btn mui-btn-blue mui-icon-extra mui-icon-extra-prech"></a>
				<a class="mui-btn mui-btn-yellow mui-icon-extra mui-icon-extra-cart"></a>
			</div>
			<div class="mui-slider-handle">
				<div class="mui-table-cell">
					左滑显示多功能菜单
				</div>
			</div>
		</li>
		<li class="mui-table-view-cell">
			<div class="mui-slider-right mui-disabled">
				<a class="mui-btn mui-btn-blue mui-icon-extra mui-icon-extra-prech"></a>
				<a class="mui-btn mui-btn-yellow mui-icon-extra mui-icon-extra-cart"></a>
			</div>
			<div class="mui-slider-handle">
				<div class="mui-table-cell">
					左滑显示多功能菜单
				</div>
			</div>
		</li>
		<li class="mui-table-view-cell">
			<div class="mui-slider-right mui-disabled">
				<a class="mui-btn mui-btn-blue mui-icon-extra mui-icon-extra-prech"></a>
				<a class="mui-btn mui-btn-yellow mui-icon-extra mui-icon-extra-cart"></a>
			</div>
			<div class="mui-slider-handle">
				<div class="mui-table-cell">
					左滑显示多功能菜单
				</div>
			</div>
		</li>
	</ul>
	<ul class="mui-table-view">
		<li class="mui-table-view-cell mui-media">
			<a href="javascript:;">
				<img class="mui-media-object mui-pull-left" src="../images/bg.jpg">
				<div class="mui-media-body">
					幸福
					<p class="mui-ellipsis">能和心爱的人一起睡觉，是件幸福的事情；可是，打呼噜怎么办？</p>
				</div>
			</a>
		</li>
		<li class="mui-table-view-cell mui-media">
			<a href="javascript:;">
				<img class="mui-media-object mui-pull-left" src="">
				<div class="mui-media-body">
					木屋
					<p class="mui-ellipsis">想要这样一间小木屋，夏天挫冰吃瓜，冬天围炉取暖.</p>
				</div>
			</a>
		</li>
		<li class="mui-table-view-cell mui-media">
			<a href="javascript:;">
				<img class="mui-media-object mui-pull-left" src="">
				<div class="mui-media-body">
				    CBD
					<p class="mui-ellipsis">烤炉模式的城，到黄昏，如同打翻的调色盘一般.</p>
				</div>
			</a>
		</li>
	</ul>
</div>
<!-- content end -->
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
<script src="../js/mui.min.js"></script>
<script>
mui.init();
(function($) {
	//第二个demo，向右拖拽后显示操作图标，释放后自动触发的业务逻辑
	$('#OA_task_2').on('tap', '.mui-icon-extra-prech', function(event) {
		mui.toast("tap");
		mui.openWindow({
			url:'slider_content.html',
			id:'slider_content.html',
		})
	});
})(mui);
</script>
</body>
</html>
